<script setup lang="ts">
import { zhCN, dateZhCN } from 'naive-ui'
import { useThemeStore } from '@/store'
const theme = useThemeStore()
</script>

<template>
  <n-config-provider
    :locale="zhCN"
    :date-locale="dateZhCN"
    :theme="theme.naiveTheme"
    :theme-overrides="theme.naiveThemeOverrides"
  >
      <RouterView />
    <!-- <ThemeSetting /> -->
  </n-config-provider> 
</template>

<style>
#app {
  font-weight: normal;
}
</style>
